import { defineStore } from "pinia";
export const orderInfo = defineStore("order", {
  state: () => {
    return {
      status: "-1", // 状态
      goodsName: "", // 商品名称
    };
  },
  actions: {
    setOrderStatus(data) {
      this.status = data;
    },
    setGoodName(data) {
      this.goodsName = data;
    },
  },
});
